package domain;

import java.util.Date;
import org.apache.struts.action.ActionForm;

public class User extends ActionForm{
	private int id ;
	private String username="";
	private String password="";
	private int type=0;
	private String qq="";
	private String email="";
	private Date createtime=new Date();
	private String content="";
	
	public User()
	{		
	}
	
	

	public User(int id, String username, String password, int type,
			Date createtime, String qq, String email, String content) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.type = type;
		this.createtime = createtime;
		this.qq = qq;
		this.email = email;
		this.content = content;
	}



	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
